//
//  SXDeviceClientCheckGatewayPassCallback.h
//  SXIotSDK
//
//  Created by 林鑫 on 2019/12/4.
//

#import <Foundation/Foundation.h>
#import "SXSOnDataLoadedListener.h"
#import "SDKResult.h"

NS_ASSUME_NONNULL_BEGIN

@interface SXCallbackWithSDKResult : NSObject<ComBoneylinkSxiotsdkshareListenerSXSOnDataLoadedListener>

typedef void(^CallbackWithResultType)(SDKResult*, NSError*);
@property (nonatomic, copy) CallbackWithResultType callback;

- (instancetype)initWithCallback:(void(^)(SDKResult* result, NSError* error))callback;

@end

NS_ASSUME_NONNULL_END
